package com.ruoyi.buss.grid.sq.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import javax.validation.constraints.NotNull;

/**
 * 网格社区管户对象 DATA_WG_WGSQ_SQGL
 * 
 * @author sxy
 * @date 2021-07-16
 */
public class DataWgWgsqSqgl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String id;

    /** 上级社区 */
    @Excel(name = "上级社区")
    private String sssjsq;

    /** 所属小区 */
    @Excel(name = "所属小区")
    private String sssq;

    /** 管户机构 */
    @Excel(name = "管户机构")
    private String orgId;

    /** 管户经理 */
    @Excel(name = "管户经理")
    private String managerId;

    /** 0正常  1已删除 */
    @Excel(name = "0正常  1已删除")
    private String delFlag;

    /**
     * type  1社区 2小区
     */
    @NotNull(message = "类型不能为空")
    private String type;

    private String userId;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setSssjsq(String sssjsq) 
    {
        this.sssjsq = sssjsq;
    }

    public String getSssjsq() 
    {
        return sssjsq;
    }
    public void setSssq(String sssq) 
    {
        this.sssq = sssq;
    }

    public String getSssq() 
    {
        return sssq;
    }
    public void setOrgId(String orgId) 
    {
        this.orgId = orgId;
    }

    public String getOrgId() 
    {
        return orgId;
    }
    public void setManagerId(String managerId) 
    {
        this.managerId = managerId;
    }

    public String getManagerId() 
    {
        return managerId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sssjsq", getSssjsq())
            .append("sssq", getSssq())
            .append("orgId", getOrgId())
            .append("managerId", getManagerId())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
